1. Open the webChatConfig.js or chatConfigPanel.js file (depending on version)
2. Copy the "toggleCustomData" and "loadCustomData" methods into your copy of the above files.
3. Open the home.html file.
4. Copy the "customDataInputDiv" element, its children, and the div element before it into your home.html page.
5. Open the webChat.js file.
6. Copy the sample "customData" block into your copy of webChat.js.
7. Locate the chatLogin function, and replace the message syntax with that of the SDK.
8. Repeat step 5 with the sendChatMessage function.
9. Copy the "createWidgets", "createSelectorElement", "createClickElement", "createRadioElement" and "createButtonElement" functions into the webChat.js file
10. Copy the "notifyParticipantLeave" function into the webChat.js file.